package com.example.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.Size;
import java.time.LocalDateTime;

@Data
public class RegistrationDTO {
    private Integer eventId;
    private String userName;
    @Size(min = 11, max = 11, message = "电话号码必须为11位")
    private String phone;
}
